import Vue from 'vue'
import Vuex from "vuex"
Vue.use(Vuex);
export default new Vuex.Store({
	state:{
		companyUrseinfo:"",
		personaluserInfo:"",
	},
	getters:{
		companyInfo(state){
			return state.companyUrseinfo
		},
		personInfo(state){
			return state.personaluserInfo
		}
	},
	mutations:{
		getpersonInfo(state,data){
			return state.userInfo=data
		},
		getcompanyInfo(state,data){
			state.companyUrseinfo=data
			console.log(state.companyUrseinfo)
			return state.companyUrseinfo=data
		}
	},
	actions:{
		
	}
})